package com.zeus.base.smscenter.common.model;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * Entity支持类
 *
 * @author ThinkGem
 * @version 2014-05-16
 */
public abstract class BaseEntity implements Serializable {

    public static final String SPLIT = "⊙";//项目分隔符
    public static final Integer YES = 1;//是
    public static final Integer No = 0;//否
    private static final long serialVersionUID = 1L;

    /**
     * 所属企业Id
     */
    protected Integer companyId;
    /**
     * 所属企业编码
     */
    protected String companyCode;
    /**
     *所属企业名称
     */
    protected String companyName;
    /**
     *创建者Id
     */
    protected Integer createUserId;
    /**
     * 创建人编码
     */
    protected String createUserCode;
    /**
     * 创建者
     */
    protected String createUserName;
    /**
     *创建日期
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    protected Date createTime;
    /**
     *更新者Id
     */
    protected Integer updateUserId;
    /**
     * 更新者
     */
    protected String updateUserName;
    /**
     * 更新者编码

     */
    protected String updateUserCode;
    /**
     *更新日期
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    protected Date updateTime;
    /**
     *删除标记（0：正常；1：删除；）
     */
    protected Integer delFlag;
    /**
     * 备注
     */
    protected String remark;

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserCode() {
        return createUserCode;
    }

    public void setCreateUserCode(String createUserCode) {
        this.createUserCode = createUserCode;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public String getUpdateUserCode() {
        return updateUserCode;
    }

    public void setUpdateUserCode(String updateUserCode) {
        this.updateUserCode = updateUserCode;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
